package top.frsf.pattern.c_behavioral.b_chainrespon.tomcat.impl;

import javax.servlet.*;
import java.io.IOException;

/**
 * @author FRSF
 * @since 2024/8/31 18:34
 */
public class HttpServlet implements Servlet {
    @Override
    public void init(ServletConfig config) throws ServletException {

    }

    @Override
    public ServletConfig getServletConfig() {
        return null;
    }

    @Override
    public void service(ServletRequest req, ServletResponse res) throws ServletException, IOException {
        System.out.println("HttpServlet Service");
    }

    @Override
    public String getServletInfo() {
        return "";
    }

    @Override
    public void destroy() {

    }
}
